package cn.tedu._02notice.mapper;

import cn.tedu._02notice.pojo.dto.NoticeAddParam;
import cn.tedu._02notice.pojo.dto.NoticeAddQuery;
import cn.tedu._02notice.pojo.entity.Notice;
import cn.tedu._02notice.pojo.vo.NoticeAddVo;
import cn.tedu._02notice.pojo.vo.NoticeDetailInfoVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NoticeMapper {

    int insert(Notice notice);
    List<NoticeAddVo> select(NoticeAddQuery noticeAddQuery);
    NoticeDetailInfoVO detail(long id);
}
